<!DOCTYPE html>
<head>
    <link rel="stylesheet" type="text/css" href="/css/printkerry.css"/>
    <script type="text/javascript" src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
    <script src="/js/JsBarcode.all.min.js"></script>
</head>
<script type="text/javascript">
    $(function() {
        var option = {
            format: "CODE128", //CODE39
            width:2,
            height:30,
            displayValue: true
        };

        var option1 = {
            format: "CODE128", //CODE39
            width:0.8,
            height:20,
            displayValue: true
        };

        var waybillno = "${waybillInfo.waybillno!''}";
        var orderno = "${waybillInfo.orderno!''}";

        $("#barcodetitle").JsBarcode(waybillno,option);//or JsBarcode("#svgcode", "Hi!");
        $("#barcode").JsBarcode(waybillno,option);//or JsBarcode("#svgcode", "Hi!");
        $("#barcodeorder").JsBarcode(orderno,option1);//or JsBarcode("#svgcode", "Hi!");

    });
</script>
<body>
<div style="height:2cm;"></div>
<!--startprint-->
<div class="printcontent">
    <div class="div1">
        <span class="printpl10 printh1"><img id="barcodetitle" /></span>
        <div>
            <ul class="div1">
                <li><span class="span1 spanmt7">SPS</span></li>
                <li><span class="span2 spantb">快递包裹</span></li>
            </ul>
        </div>
    </div>
    <div class="printline"></div>
    <ul class="printf12 bottomborder spanpb2">
        <li><span class="printpl10 spanhalf">寄件人/From：<span class="ftwt600 fts15">${waybillInfo.sender!''}</span></span><span class="printpl10 spanhalf"> 电话/tel：<span class="ftwt600 fts15">${waybillInfo.sendertel!''}</span></span></li>
        <li><span class="printpl10 spantb">地址/Address：<span class="ftwt600 fts15">${waybillInfo.senderaddress!''} </span></span></li>
    </ul>
    <ul class="printf12 bottomborder divmt4 spanpb2">
        <li><span class="printpl10 spanhalf">收件人/To：<span class="ftwt600 fts15">${waybillInfo.receiver!''} </span></span><span class="printpl10 spanhalf"> 电话/tel：<span class="ftwt600 fts15">${waybillInfo.receivertel!''}</span></span></li>
        <li><span class="printpl10 spantb">地址/Address：<span class="ftwt600 fts15">${waybillInfo.receiveraddress!''} </span></span></li>
    </ul>
    <ul class="printf12 bottomborder  divmt4 spanpb2">
        <li><span class="printpl10 spanhalf">付款方式: ${waybillInfo.paytype!''}</span><span class="printpl10 spanhalf">收件人/代收人： ${waybillInfo.receiverman!''} </span></li>
        <li><span class="printpl10 spanhalf">计费重量（KG）:  ${waybillInfo.totalweight!''}</span><span class="printpl10 spanhalf">签收时间：&nbsp;&nbsp;&nbsp;年&nbsp;&nbsp;&nbsp;月&nbsp;&nbsp;&nbsp; 日&nbsp; &nbsp;&nbsp;  时 </span></li>
        <li><span class="printpl10 spanhalf">报价金额（元）:  ${waybillInfo.money!''}</span><span class="printpl10 spanhalf">快递送达收件人地址，经寄件人收件人允许的代收人签字，视为送达</span></li>
    </ul>

    <ul class="printf12 bottomborder  divmt4 spanpb2">
        <li><span class="printpl10 spanhalf"><span class="span3">订单号: </span><span><img id="barcodeorder" /> </span> </span><span class="printpl10 spanhalf"><span class="span3">件数： ${waybillInfo.count!''} 重量（KG）: <span class="ftwt600 fts15">${waybillInfo.weight!''}</span></span></span></li>
    </ul>


    <ul class="printf12 bottomborder divmt4 spanpb2">
        <li class="textcenter"><img id="barcode" /></li>
    </ul>

    <ul class="printf12 bottomborder  divmt4 spanpb2">
        <li><span class="printpl10 spanhalf">寄件: <span class="ftwt600 fts15">SO</span></span><span class="printpl10 spanhalf">收件：<span class="ftwt600 fts15">${waybillInfo.receiver!''} ${waybillInfo.receivertel!''}</span></span></li>
        <li><span class="printpl10 spanhalf">${waybillInfo.senderso!''} </span><span class="printpl10 spanhalf ftwt600">${waybillInfo.receiveraddress!''}</span></li>
    </ul>

    <ul class="printf12 bottomborder  divmt4 spanpb2">
        <li><span class="printpl10 ">备注: ${waybillInfo.remark!''} </span></li>
        <li><span class="printpl10 ">退货地址（四川双流航空港黄河中路一段389号） </span></li>
    </ul>
</div>
</body>
</html>
